package cn.middle.edge.mapper;

import cn.middle.edge.entity.Server;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.middle.common.base.mapper.BaseMapper;

public interface ServerMapper extends BaseMapper<Server> {
	
	public List<Server> listConditions(@Param("serviceId") String serviceId,@Param("serviceName") String serviceName,@Param("status") Byte status);
	
	/**
	 * 查询编码数量
	 * @param code
	 * @return
	 */
	public long serverCodeNumber(@Param("serviceId")String code);
}